package com.example.cart.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;


public class Car implements Serializable {
    private Integer id;

    private String name;

    private Integer series_id;

    private BigDecimal price;

    private String description;

    private String photo;

    private Date release_date;

    public void setId(Integer id){ this.id = id; }

    public Integer getId(){ return id; }

    public void setName(String name){ this.name = name; }

    public String getName(){ return name; }

    public void setSeries_id(Integer series_id){ this.series_id = series_id; }

    public Integer getSeries_id(){ return series_id; }

    public void setPrice(BigDecimal price){ this.price = price; }

    public BigDecimal getPrice(){ return price; }

    public void setDescription(String description){ this.description = description; }

    public String getDescription(){ return description; }

    public void setPhoto( String photo){ this.photo = photo; }

    public String getPhoto(){ return photo; }

    public void setRelease_date(Date release_date){ this.release_date = release_date; }

    public Date getRelease_date(){ return release_date; }
}
